package com.zongtui.fourinone.worker;

import com.zongtui.fourinone.file.WareHouse;
import com.zongtui.fourinone.park.ParkActive;

import java.rmi.RemoteException;

public interface Worker extends ParkActive {
	public void setMigrantWorker(MigrantWorker mw) throws RemoteException;
	public WareHouse doTask(WareHouse inhouse) throws RemoteException;
	public void stopTask() throws RemoteException,InterruptedException;
	public boolean receiveMaterials(WareHouse inhouse) throws RemoteException;
}